package com.ktjy.java;

import java.lang.annotation.Retention;
import java.lang.annotation.Target;

import static java.lang.annotation.ElementType.FIELD;
import static java.lang.annotation.RetentionPolicy.RUNTIME;

@Target(FIELD)
@Retention(RUNTIME)
@Deprecated
public @interface FruitColor {
    public enum Color{BLUE,RED,GREEN}

    Color fruitColor() default Color.GREEN;
}
